]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
gdm: Don't throw an error if there's no logo file
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 15 Oct 2014 02:59:29 +0000 (19:59 -0700)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 15 Oct 2014 03:00:25 +0000 (20:00 -0700)
js/gdm/loginDialog.js

index 5564d76558de0e22815e4908552768f41d3f1622..724b28b0060577a276c1cbc2933487031d02a204 100644 (file)
@@ -538,7 +538,7 @@ const LoginDialog = new Lang.Class({
     },
 
     _updateLogoTexture: function(cache, file) {
-        if (!this._logoFile.equal(file))
+        if (this._logoFile && !this._logoFile.equal(file))
             return;
 
         this._logoBin.destroy_all_children();